package com.dhnsoft.education.entity.edu.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @ClassName OneSubject
 * @Author dhn
 * @date 2022.02.18 20:57
 */
//一级分类
@Data
public class OneSubject {


    private String id;

    private String title;

    //一个个一级分类有多个二级类型
    private List<TwoSubject> children = new ArrayList<>();
}
